import java.io.IOException;

import org.antlr.runtime.ANTLRFileStream;
import org.antlr.runtime.CharStream;
import org.antlr.runtime.CommonTokenStream;
import org.antlr.runtime.RecognitionException;


public class Lispy {
	public static void main(String[] args) throws IOException, RecognitionException {
		String filename = args[0];
		CharStream input = new ANTLRFileStream(filename);
		LispyLexer lexer = new LispyLexer(input);
		CommonTokenStream tokens = new CommonTokenStream(lexer);
		LispyParser parser = new LispyParser(tokens);
		parser.prog();
	}
}
